import Pager from './Pager'
import Alert from './Alert'
import Confirm from './Confirm'
import FormTimeInput from './FormTimeInput'
import AuthMsg from './AuthMsg'
import TimeSearch from './TimeSearch'
import SelectUser from './SelectUser'
import BsParkStateLog from './BsParkStateLog'
const components =
  {
    Alert
    , Pager
    , Confirm
    , FormTimeInput
    , AuthMsg
    , TimeSearch
    , SelectUser
    , BsParkStateLog
  }

export default {
  install(Vue) {
    for (let key in components) {
      const component = components[key]
      if (component.name) Vue.component(component.name, component)
    }
  }
}

//install方法 开发插件